<%-- 
    Document   : bp_detail
    Created on : Nov 26, 2008, 2:37:35 PM
    Author     : hp02
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<table>
    <tr>
        <td class="menucon">
            <html:link action="/bp_getbps.do" title="Go to main.">Business Partners</html:link>
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>Name</td>
        <td>:</td>
        <td>${bp.nama}</td>
    </tr>
    <tr>
        <td>Address Line</td>
        <td>:</td>
        <td>${bp.alamat}</td>
    </tr>
    <tr>
        <td>Phone Number</td>
        <td>:</td>
        <td>${bp.telp}</td>
    </tr>
    <tr>
        <td>Fax. Number</td>
        <td>:</td>
        <td>${bp.fax}</td>
    </tr>
    <tr>
        <td>Contact</td>
        <td>:</td>
        <td>${bp.kontak}</td>
    </tr>
    <tr>
        <td>Email</td>
        <td>:</td>
        <td>${bp.email}</td>
    </tr>
    <tr>
        <td>Partner</td>
        <td>:</td>
        <td>
            <c:if test="${bp.partnerLevel==1}">
                <c:out value="Customer"/>
            </c:if>
            <c:if test="${bp.partnerLevel==2}">
                <c:out value="Supplier"/>
            </c:if>
            <c:if test="${bp.partnerLevel==3}">
                <c:out value="Contractor"/>
            </c:if>
            <c:if test="${bp.partnerLevel==4}">
                <c:out value="Consultant"/>
            </c:if>
            <c:if test="${bp.partnerLevel==5}">
                <c:out value="Project Owner"/>
            </c:if>
            <c:if test="${bp.partnerLevel==6}">
                <c:out value="Subcontractor"/>
            </c:if>
        </td>
    </tr>    
</table>
